package com.woniuxy.pojo;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * permission
 * @author 
 */
@Data
@ApiModel(value = "Permission",description = "权限表")
public class Permission implements Serializable {
    @ApiModelProperty(value = "[自动增长]权限表id")
    private Integer id;

    /**
     * 子服务ID
     */
    @ApiModelProperty(value = "子服务ID")
    private Integer pid;

    /**
     * 服务类型
     */
    @ApiModelProperty(value = "服务类型")
    private String type;

    /**
     * 服务名称
     */
    @ApiModelProperty(value = "服务名称")
    private String name;

    /**
     * 服务的图标
     */
    @ApiModelProperty(value = "服务的图标")
    private String icom;

    /**
     * 跳转服务
     */
    @ApiModelProperty(value = "跳转服务")
    private String href;
    @ApiModelProperty(value = "是否展开")
   private String open;
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcom() {
        return icom;
    }

    public void setIcom(String icom) {
        this.icom = icom;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getOpen() {
        return open;
    }

    public void setOpen(String open) {
        this.open = open;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }
}